import request from "@/utils/request";
import qs from "qs";

export function getAccountMsg(msgQuery) {
  return request({
    url: "/message/current",
    method: "get",
    params: msgQuery,
  });
}

//3.6	获取会话列表
export function getMsgList(msgQuery) {
  return request({
    url: "/message/allChatList",
    method: "get",
    params: msgQuery,
  });
}
//3.7	获取会话消息列表
export function getMessageList(msgQuery) {
  return request({
    url: "/message/messageList",
    method: "get",
    params: msgQuery,
  });
}